Skip to main content

listDepth

Type

property

Summary

Specifies the depth of a line in a list.

Syntax

set the listDepth of <line> of <field> to 1

Description

Use the listStyle property to control the depth of a line in a list.

Examples

set the listDepth of line 1 of field 1 to 5
-- Make a list have a maximum depth of 2
repeat with x = 0 to the number of lines of field 1
if the listDepth of line x of field 1 &gt; 2 then
set the listDepth of line x of field 1 to 2
end if
end repeat

property: hScrollbar, borderColor, textSize, listBehavior, formattedWidth, textAlign, spaceBelow, rightIndent, firstIndent, formattedText, tabstops, borderWidth, spaceAbove, hgrid, vgrid, backgroundColor, hidden, dontWrap, listStyle

Compatibility and Support

Introduced

LiveCode 5.5

OS

mac

windows

linux

ios

android

Platforms

desktop

server

mobile

Thank you for your feedback!

Was this page helpful?